using LpbPrj.Client.Patients;
using System.Data.Entity.ModelConfiguration;

namespace LpbPrj.Client.EntityMapper
{
    public class PatientInfoCfg : EntityTypeConfiguration<Patient>
    {
        public PatientInfoCfg()
        {
            ToTable("PatientInfos");

            Property(e => e.PatientName).IsUnicode(true);
            Property(e => e.PatientPhone).IsUnicode(false);
            Property(e => e.PatientAddress).IsUnicode(true);
            Property(e => e.Description).IsUnicode(true);
            Property(e => e.Disease).IsUnicode(true);
            Property(e => e.Remarks).IsUnicode(true);
            Property(e => e.Cause).IsUnicode(true);
            Property(e => e.Doctor).IsUnicode(true);
            Property(e => e.Operator).IsUnicode(true);
            Property(e => e.CaseID).IsUnicode(true);
            Property(e => e.ShowID).IsUnicode(true);

        }
    }
}


